TARGET = test

all: main.cpp
	g++ -o $(TARGET) $^

clean:
	rm $(TARGET)

# test: all
# 	./$(TARGET)
	
test1: main.cpp
	g++ -o $(TARGET) $^ && ./$(TARGET)
	g++ -o $(TARGET) $^ -DLOG_LEVEL=LOG_WARNING -DPRINT_FMT=1 && ./$(TARGET)
	g++ -o $(TARGET) $^ -DLOG_LEVEL=LOG_ERR -DPRINT_FMT=2 && ./$(TARGET)

test: test1
